-
Notifications
You must be signed in to change notification settings - Fork 38
allow list for expressions #50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…s and improving test coverage
…onsistency and clarity; add `github.owner` to AllowedExpressions
…d remove unused expressions
dsyme
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comments
…nsolidating GitHub Actions expressions.
… adjust tests for accuracy
dsyme
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about docs?
…ity validation in workflow markdown
|
@dsyme i think it's ready. sorry busy with other things |
dsyme
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a few more comments
|
do you want to take over? Busy for a next few hours. |
…r clarity and completeness
* Make missing-tool safe output optional instead of always enabled by default (#53) * Initial plan * Implement missing-tool safe output for reporting unavailable functionality Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> * Make missing-tool safe output optional instead of always enabled Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> * Optimize frontmatter error location detection with sub-YAML search for nested additional properties (#50) * Remove GITHUB_TOKEN usage from format-and-commit workflow * Initial plan * Improve frontmatter error source location logic for additional properties and offsets Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> * Enhance nested additional properties error location handling - Modified LocateJSONPathInYAMLWithAdditionalProperties to handle additional properties in nested objects - Added findAdditionalPropertyInNestedContext function to locate properties within specific JSON path contexts - Added findNestedSection function to identify YAML sections corresponding to JSON paths - Added comprehensive test coverage for nested additional properties scenarios - Maintains backward compatibility with existing root-level additional properties handling Fixes handling of errors like "at '/on': additional properties 'foobar' not allowed" to point to exact location of 'foobar' rather than the 'on:' line. Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> * Optimize nested additional properties search for JSON paths When a JSON path is available, search within sub-YAML content instead of entire YAML: - Extract the YAML content for the specific JSON path section - Normalize indentation for the sub-content - Perform additional property search within the extracted sub-YAML - Map coordinates back to original YAML positions This improves efficiency by avoiding searches through unrelated YAML sections and provides more precise error location detection as requested in feedback. Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --------- Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> * Add support for custom environment variables in engine configuration using GitHub Actions syntax (#56) * Initial plan * Add support for custom environment variables in engine configuration Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> * Change env field type from array to map for GitHub Actions compatibility Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com> * Add missing tool reporting functionality to workflow and update documentation * Add missing tool reporting functionality to workflow and update documentation --------- Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com> Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Refuse markdown that uses unsafe expression inserts.